<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Application.java</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body {color: #000000; background-color: #ffffff; font-family: Monospaced}
pre {color: #000000; background-color: #ffffff; font-family: Monospaced}
table {color: #000000; background-color: #e9e8e2; font-family: Monospaced}
.ST0 {color: #969696; font-family: Monospaced; font-weight: bold}
.comment {color: #969696}
.line-number {background-color: #e9e8e2}
.keyword-directive {color: #0000e6}
-->
</style>
</head>
<body>
<table width="100%"><tr><td align="center">C:\GoogleCode\bari\Bari\src\java\dk\jsh\itdiplom\dbsw\bari\wicket\Application.java</td></tr></table>
<pre>
<span class="line-number"> 1</span> <span class="keyword-directive">package</span> dk.jsh.itdiplom.dbsw.bari.wicket;           
<span class="line-number"> 2</span> 
<span class="line-number"> 3</span> <span class="keyword-directive">import</span> org.apache.wicket.Request;
<span class="line-number"> 4</span> <span class="keyword-directive">import</span> org.apache.wicket.Response;
<span class="line-number"> 5</span> <span class="keyword-directive">import</span> org.apache.wicket.Session;
<span class="line-number"> 6</span> <span class="keyword-directive">import</span> org.apache.wicket.protocol.http.WebApplication;
<span class="line-number"> 7</span> 
<span class="line-number"> 8</span> <span class="comment">/**</span> 
<span class="line-number"> 9</span> <span class="comment"> * </span><span class="comment">Wicket</span> <span class="comment">application</span><span class="comment">.</span>
<span class="line-number">10</span> <span class="comment"> *</span>
<span class="line-number">11</span> <span class="comment"> * </span><span class="ST0">@author</span> <span class="comment">Jan</span> <span class="comment">S</span><span class="comment">.</span> <span class="comment">Hansen</span>
<span class="line-number">12</span>  <span class="comment">*/</span>
<span class="line-number">13</span> <span class="keyword-directive">public</span> <span class="keyword-directive">class</span> Application <span class="keyword-directive">extends</span> WebApplication {
<span class="line-number">14</span> 
<span class="line-number">15</span>     <span class="comment">/**</span>
<span class="line-number">16</span> <span class="comment">     * </span><span class="comment">C</span><span class="comment">onstructor</span><span class="comment">.</span>
<span class="line-number">17</span>      <span class="comment">*/</span>
<span class="line-number">18</span>     <span class="keyword-directive">public</span> Application() {
<span class="line-number">19</span>     }
<span class="line-number">20</span> 
<span class="line-number">21</span>     <span class="comment">/**</span>
<span class="line-number">22</span> <span class="comment">     * </span><span class="comment">Returns</span> <span class="comment">home</span> <span class="comment">page</span> <span class="comment">for</span> <span class="comment">the</span> <span class="comment">application</span><span class="comment">.</span>
<span class="line-number">23</span>      <span class="comment">*/</span>
<span class="line-number">24</span>     @Override
<span class="line-number">25</span>     <span class="keyword-directive">public</span> Class getHomePage() {
<span class="line-number">26</span>         <span class="keyword-directive">return</span> Login.<span class="keyword-directive">class</span>;
<span class="line-number">27</span>     }
<span class="line-number">28</span> 
<span class="line-number">29</span>     @Override
<span class="line-number">30</span>     <span class="keyword-directive">public</span> Session newSession(Request request, Response response) {
<span class="line-number">31</span>         <span class="keyword-directive">ret</span><span class="keyword-directive">urn</span> <span class="keyword-directive">new</span> BariSession(request);
<span class="line-number">32</span>     }
<span class="line-number">33</span> }
<span class="line-number">34</span> 
</pre></body>
</html>
